//
//  UIViewController+NavigationItemSetting.h
//  laziz_Consumer
//
//  Created by XMac on 16/10/25.
//  Copyright © 2016年 XBN. All rights reserved.
//

#import <UIKit/UIKit.h>

typedef NS_ENUM(NSUInteger, NAVIGATIONITEMSETTING_TYPE) {
    NAVIGATIONITEMSETTING_LEFT,
    NAVIGATIONITEMSETTING_RIGHT,
};


@interface UIViewController (NavigationItemSetting)

/* *********************** 系统默认的navbar *********************** */
-(void)navigationItemSetting:(NSArray<UIView *> *)views type:(NAVIGATIONITEMSETTING_TYPE)type;

/* *********************** 自定义的navbar *********************** */
@property (nonatomic ,strong) UIView *customBar;
@property (nonatomic ,strong) UILabel *titleLabel;
@property (nonatomic ,strong) UIView *line;

-(void)hiddenBarNavigationItemSetting:(NSArray<UIView *> *)views type:(NAVIGATIONITEMSETTING_TYPE)type;
- (void)lz_setTitle:(NSString*)title;
-(void)lz_setCustomBarAlpha:(CGFloat)alpha;

@end
